Global Index
HTML5 JS API Index > Web Sockets and Messaging Tutorials & Specs

MessagePort

Extends EventTarget.

Properties
EventHandleronmessage
Operations
void
close()
The close() method, when called on a port local port that is entangled with another port, must cause the user agent to disentangle the two ports. If the method is called on a port that is not entangled, then the method must do nothing.
voidpostMessage(any message, optional sequence<Transferable> transfer)
void
start()
The start() method must enable its port's port message queue, if it is not already enabled.
Referenced by
MessageChannelport2
MessageEventsource
MessageEventInitsource
PortCollectionremove(...)
SharedWorkerport